package com.borrowed.book.membercard.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.borrowed.book.book.domain.SMemberCardOutDto;
import com.borrowed.book.membercard.entity.SMemberCard;

import java.util.List;

/**
*
*/
public interface SMemberCardService extends IService<SMemberCard> {
    /**
     * 添加会员卡
     * @param memerCard
     */
    public void addMemCard(SMemberCard memerCard);
    /**
     * 更新会员卡
     * @param memerCard
     */
    public void updateMemCard(SMemberCard memerCard);
    /**
     * 一览查询会员卡
     * @return
     */
    List<SMemberCard> selectMemberCards();
    /**
     * 删除会员卡
     */
    public void deleteMemCard(Long id);


    /**
     * 会员卡绑定
     */
    void bindingMemberCard(Long cardId,String openId);
}
